"""hospitaloa URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path, include
from announcements import views


urlpatterns = [
    path('announcements.html', views.Announcements.as_view()),
    path('home.html', views.home.as_view()),
    path('administration.html', views.administration.as_view()),
    path('newly_increased.html', views.newly_increased.as_view()),      # 新增公告
    path('detail.html', views.detail.as_view()),
    path('upload_imgs', views.upload_img.as_view()),
    path('upload_accessory', views.upload_accessory.as_view()),
    path('file_download', views.file_download.as_view()),
    path('notice_index', views.NoticeIndex.as_view()),
    path('notice_list', views.NoticeList.as_view()),        # 我的申请
    path('Notice_Managerment.html', views.Notice_Managerment.as_view()),
    path('proclamation_statistics.html', views.proclamation_statistics.as_view()),
    path('notice_detail', views.NoticeDetail.as_view()),
    path('audit_notice', views.AuditNotice.as_view()),
    path('notice_detail.html', views.notice_detail.as_view()),  # 公告详情
    path('notice_approve.html', views.notice_approve.as_view()),    # 公告审批接口
    path('list_query', views.list_query.as_view()),
    path('sq_list_query', views.sq_list_query.as_view()),
    path('notice_write_view', views.NoticeWriteView.as_view()),
    path('notice_change.html', views.notice_change.as_view()),      # 公告修改接口
    path('notice_back_view', views.NoticeBackView.as_view()),
    path('notice_audit_list', views.NoticeAuditList.as_view()),
    path('MyAnnouncementList.html', views.MyAnnouncementList.as_view()),                # 我的公告
    path('HospitalOfficeMeeting', views.HospitalOfficeMeeting.as_view()),  # 院办议题上会
    path('HospitalOfficeMeetingTemporary', views.HospitalOfficeMeetingTemporary.as_view()),  # 院办议题临时上会
    path('PartyOfficeMeeting', views.PartyOfficeMeeting.as_view()),  # 党办议题上会
    path('PartyOfficeMeetingTemporary', views.PartyOfficeMeetingTemporary.as_view()),  # 党办议题临时上会
    path('ChangeMeetingOrder', views.ChangeMeetingOrder.as_view())                  # 更改开会议题顺序
]
